import java.util.ArrayList;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 石方旭
 * Date: 2022-04-28
 * Time: 10:11
 */

class Animal {
    public void eat() {
        System.out.println("我要吃饭");
    }
    public void fly() {
        System.out.println("我要飞翔");
    }
    public void climb() {
        System.out.println("我要爬起来");
    }
}
interface IRunning{
    void run();
}

class Cat implements IRunning{

    @Override
    public void run() {
        System.out.println("我要跑步");
    }
    public void eat() {
        System.out.println("我要吃饭");
    }
    public void fly() {
        System.out.println("我要飞翔");
    }
    public void climb() {
        System.out.println("我要爬起来");
    }

}
public class TestDemo {

    public static void main(String[] args) {

    }
}
